package com.sh.data.engine.application.model.mapper.workspace;

import com.sh.data.engine.application.model.dto.workspace.ProjectDTO;
import com.sh.data.engine.domain.workspace.index.model.domain.ProjectDomain;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface ProjectDTODomainMapper {
    ProjectDomain map(ProjectDTO projectDTO);

    List<ProjectDomain> map(List<ProjectDTO> projectDTO);
}
